﻿
Option Compare Binary
Option Infer On
Option Strict On
Option Explicit On

Imports DC_RackSLDE
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.ComponentModel.DataAnnotations
Imports System.Data.Objects.DataClasses
Imports System.Linq
Imports System.ServiceModel.DomainServices.Hosting
Imports System.ServiceModel.DomainServices.Server


'The MetadataTypeAttribute identifies tblComponentMetadata as the class
' that carries additional metadata for the tblComponent class.
<MetadataTypeAttribute(GetType(tblComponent.tblComponentMetadata))>  _
Partial Public Class tblComponent
    
    'This class allows you to attach custom attributes to properties
    ' of the tblComponent class.
    '
    'For example, the following marks the Xyz property as a
    ' required property and specifies the format for valid values:
    '    <Required()>
    '    <RegularExpression("[A-Z][A-Za-z0-9]*")>
    '    <StringLength(32)>
    '    Public Property Xyz As String
    Friend NotInheritable Class tblComponentMetadata
        
        'Metadata classes are not meant to be instantiated.
        Private Sub New()
            MyBase.New
        End Sub
        
        Public Property compComments As String
        
        Public Property compKey As Integer
        
        Public Property compLabel As String
        
        Public Property compLastEdit As String
        
        Public Property compLastUpdate As DateTime
        
        Public Property compLocKey As Integer
        
        Public Property compMoveStatus As Integer
        
        Public Property compName As String
        
        Public Property compParentKey As Nullable(Of Integer)
        
        Public Property compParentSlot As String
        
        Public Property compParentSubType As Integer
        
        Public Property compSubtype As Integer
        
        Public Property compType As Integer
        
        Public Property compVendorKey As Integer
        
        Public Property tblAttrAssets As EntityCollection(Of tblAttrAsset)
        
        Public Property tblAttrCabinets As EntityCollection(Of tblAttrCabinet)
        
        Public Property tblAttrDiskLogicals As EntityCollection(Of tblAttrDiskLogical)
        
        Public Property tblAttrDiskPhysicals As EntityCollection(Of tblAttrDiskPhysical)
        
        Public Property tblAttrDraws As EntityCollection(Of tblAttrDraw)
        
        Public Property tblAttrExternalStorages As EntityCollection(Of tblAttrExternalStorage)
        
        Public Property tblAttrLocation As tblAttrLocation
        
        Public Property tblAttrNetworks As EntityCollection(Of tblAttrNetwork)
        
        Public Property tblAttrOperatingSystems As EntityCollection(Of tblAttrOperatingSystem)
        
        Public Property tblAttrPortDatas As EntityCollection(Of tblAttrPortData)
        
        Public Property tblAttrProcessors As EntityCollection(Of tblAttrProcessor)
        
        Public Property tblProductData As tblProductData
    End Class
End Class

